package com.example.dml.observer_pattern.test;

import com.google.common.eventbus.Subscribe;

/**
 * @Authors：gaoyang
 * @CreateTime：2021-11-04
 * @Description：todo
 */
public class RFIDEvent {

    @Subscribe
    public void subscribe(String s){
        System.out.println("读到数据"+s);
    }

    @Subscribe
    public void read(String ss){
        System.out.println("读到数据ss"+ss);
    }
}
